package org.dromara.bean.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dromara.bean.domain.HisMemberRefund;
import org.dromara.bean.domain.bo.HisGoodsOrderBo;
import org.dromara.bean.domain.vo.HisGoodsOrderVo;
import org.dromara.bean.model.HisMemberRefundModel;
import org.dromara.common.core.domain.R;
import org.dromara.common.mybatis.core.page.TableDataInfo;


import java.util.List;

/**
 * @Description: 患者退费管理
 * @Author: jeecg-boot
 * @Date: 2020-08-18
 * @Version: V1.0
 */
public interface IBaseMemberRefundService extends IService<HisMemberRefund> {


    IPage<HisMemberRefundModel> pageListByKeyWord(Page<HisMemberRefundModel> page, String memberName, String doctorName, String checkStatus, String orderType);


    HisMemberRefund getByRegistrantId(String id);

    HisMemberRefund getByGoodsOrderId(String id);

    TableDataInfo<?> queryPageList(Integer pageNo, Integer pageSize, String memberName, String doctorName, String checkStatus, String orderType);

    R<?> queryById(String id);

    R<?> audit(String checkStatus, String id, String cause);

    /**
     * 查询符合条件的商城订单列表
     *
     * @param bo 查询条件
     * @return 商城订单列表
     */
    List<HisMemberRefund> queryList(HisMemberRefund bo);


}
